/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.mc.dao;

import com.xy.biz.mc.domain.po.MessageDataPO;

import java.util.Collection;
import java.util.List;

/**
 * 
 * 
 * @author zsp
 * @date 2021-2-25
 */
public interface MessageDataDao {
	
	/**
	 * 保存
	 *
	 * @param messageDataPO
	 */
	int saveMessageData(MessageDataPO messageDataPO);
	
	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	int saveAllMessageData(Collection<MessageDataPO> collection);
	
	/**
	 * 查找一个
	 *
	 * @param messageDataId
	 * @return
	 */
	MessageDataPO getMessageData(Long messageDataId);
	
	/**
	 * 查找多条
	 *
	 * @param collection 
	 * @return
	 */
	List<MessageDataPO> listMessageDataById(Collection<Long> collection);
	
}
